/**
 * @file	uart_process.h
 * @author	chipsea
 * @brief	
 * @version	0.1
 * @date	2020-11-30
 * @copyright Copyright (c) 2020, CHIPSEA Co., Ltd.
 * @note
 */
#ifndef __UART_PROCESS_H__
#define __UART_PROCESS_H__

#include "types.h"

#ifdef __cplusplus
extern "C"
{
#endif

extern const uint32_t baud_table[5];
extern const uint16_t advin_table[9];
extern const uint16_t connin_table[7];
extern const uint8_t power_table[5];
extern uint8_t adv_en;

/*********************************************************************
 * FUNCTIONS
 */
uint8_t uart_analysis(uint8_t *pdata);

/*********************************************************************
*********************************************************************/

#ifdef __cplusplus
}
#endif

#endif /* HEARTRATE_H */
